Skip to content

Add CLI Hints Support for Playwright-CLI in case people forget clis and don't want to bother check docs or -help#316

Closed
AI-Hub-Admin wants to merge 1 commit intomicrosoft:mainfrom
AI-Hub-Admin:main
Closed

Add CLI Hints Support for Playwright-CLI in case people forget clis and don't want to bother check docs or -help#316
AI-Hub-Admin wants to merge 1 commit intomicrosoft:mainfrom
AI-Hub-Admin:main

Conversation

@AI-Hub-Admin
Copy link
Copy Markdown

@AI-Hub-Admin AI-Hub-Admin commented Mar 22, 2026

Hi playwright-cli team,

The release of the Playwright CLI is great and thanks for contribution to the community. I’ve realized that there are already many CLIs available (nearly 30 or more), and it’s not easy for either humans or agents to remember them or use them correctly on the first try (even for agents with Skills definition). It’s especially difficult for human users to recall commands or constantly check the README.md or --help.

We are developing an agent/human CLI hints and completion tool to address this. With it, when users want to use Playwright to open a web page, they can simply type “play” or “open,” and the appropriate CLI commands will be retrieved and completed interactively for humans, while providing terminal hints for agents.

Example

agtm run play # Uses hints to resolve to the Playwright CLI
agtm run microsoft/playwright-cli open  ## "goto" is hinted as a Playwright command (navigate to a URL)
# agent mode Non Interactive Hints
agtm run microsoft/playwright-cli open --mode agent ## agent mode return hints for similar commands of keyword "open"

Agtm Cli Hint Exampls Snapshot

agtm run play: Hints the Skills
image

agtm run microsoft/playwright-cli open: Hints the Command of "open"

image

agtm run play: Complete and Run if user prompt their url

image

Docs & Usage of agtm

npm install -g @aiagenta2z/agtm
npx agtm setup --hint

GitHub
https://github.com/aiagenta2z/agtm,
https://github.com/aiagenta2z/onekey-gateway
Documentation

And we would like to share the new tool to the community and just add a small part to the README.md with "summary tag" below the Commands section.

Would you please help review the PR and where would you recommend appropriate to make the contribution?

Best Regards,
AI Agent AZZ x DeepNLP team

@dgozman
Copy link
Copy Markdown
Contributor

dgozman commented Mar 26, 2026

@AI-Hub-Admin Thank you for your interest! Playwright generally does not promote other projects in the docs, especially in fast-changing areas without well-established practices and tools. We'll let the community to decide whether agtm is helpful without forcing it upon the users.

@dgozman dgozman closed this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants